package com.tc.service;

import com.tc.entity.UserWithDeptExportVo;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * @Auther: tianchao
 * @Date: 2025/2/15 11:15
 * @Description:
 */
@Service
public class UserService {
    public List<UserWithDeptExportVo> getUserWithDeptVo() {
        return Arrays.asList(
            new UserWithDeptExportVo(1L,"部门1",1L,"tc1","123456"),
            new UserWithDeptExportVo(1L,"部门1",2L,"tc2","123456"),
            new UserWithDeptExportVo(1L,"部门1",3L,"tc3","123456"),
            new UserWithDeptExportVo(2L,"部门2",4L,"tc3","123456"),
            new UserWithDeptExportVo(2L,"部门2",5L,"zhangsan2","123456"),
            new UserWithDeptExportVo(2L,"部门2",6L,"zhangsan3","123456")
        );

    }
}
